package sfsu.memopad;

import android.location.Location;

public class Locator {
	private int taskID;
	private String title;
	private Location location = new Location("");
	
	public Locator() {
		taskID = -1;
	}
	
	public Locator(int id, String taskTitle, double latitude, double longitude) {
		setTaskID(id);
		setTitle(taskTitle);
		setLocation(latitude, longitude);
	}
	
	public final int getTaskID() {
		return taskID;
	}
	
	public final String getTitle() {
		return title;
	}
	
	public final Location getLocation() {
		return location;
	}
	
	public void setTaskID(int input) {
		taskID = input;
	}
	
	public void setTitle(String input) {
		title = input;
	}
	
	public void setLocation(double latitude, double longitude) {
		location.setLatitude(latitude);
		location.setLongitude(longitude);
	}
}
